<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_OPENINGSUREN);

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_OPENINGSUREN));

  require(DIR_WS_INCLUDES . 'template_top.php');
?>

<div id="left">
    <h1 class="left_title"><?=HEADING_TITLE; ?></h1>
	<div class="contact_image">
	<div class="openingsuren_TL_corner" style="width:410px;">
    	<div class="openingsuren_BR_corner">
        	<div class="clear"></div>
            <table border="0" class="openingsuren">
<?php
$hours_sql = tep_db_query("select phd.title, phd.time_1, phd.time_2 from " . TABLE_PAGES_HOURS . " ph inner join " . TABLE_PAGES_HOURS_DESCRIPTION . " phd on (ph.pages_hours_id = phd.pages_hours_id) where phd.language_id = '" . (int)$languages_id ."' order by ph.sort_order, ph.pages_hours_id");
while($hours = tep_db_fetch_array($hours_sql)) {
?>
                <tr align="left">
                    <td width="20px">&nbsp;</td>
                    <td width="105px" align="left"><?php echo $hours['title']; ?></td>
                    <td width="120px" align="left"><?php echo $hours['time_1']; ?></td>
                    <td width="105px" align="left"><?php echo $hours['time_2']; ?></td>
                    <td width="20px">&nbsp;</td>
                </tr>
<?php
}
?>
				<tr>
					<td>&nbsp;</td>
					<td colspan="4"><?php echo TEXT_NOTE_HOURS ?></td>
				</tr>
        	</table>
            <div class="clear"></div>
        </div>
    </div></div>
</div>

<!--end #left -->

<div id="right">
    <!-- -->
</div>

<?php
  require(DIR_WS_INCLUDES . 'template_bottom.php');
  require(DIR_WS_INCLUDES . 'application_bottom.php');
?>
